package com.itfreer.knowledge.service.config;

import javax.ws.rs.Path;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.itfreer.form.api.BaseRestService;
import com.itfreer.form.api.BaseService;
import com.itfreer.knowledge.entity.config.CatalogEntity;

/**
 * 站点管理服务接口
 */
@Component("RestCatalogService")
@Path("/knowledge_catalog/")
public class RestCatalogService extends BaseRestService<CatalogEntity>  {

	@Autowired
	private CatalogService siteService;
	
	@Override
	protected BaseService<CatalogEntity> getService() {
		return siteService;
	}

	@Override
	protected String getServiceName() {
		return "knowledge_catalog";
	}
}
